package com.ruoyi.bizsys.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 奖励分组对象 award_group
 *
 * @author african-loan
 * @date 2022-06-22
 */

@Data
public class AwardGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //所有人都可以操作的分组
    public static final String All_GROUP_CODE = "ALL_USER";

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 分组编号
     */
    @Excel(name = "分组编号")
    private String groupCode;


    /**
     * 分组名
     */
    @Excel(name = "分组名")
    private String groupName;


    /**
     * 状态 0停用 1启用
     */
    @Excel(name = "状态 0停用 1启用")
    private String state;


    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

}